Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632542 Views

Latest files of /cody/solygambas/html-css-javascript-projects/062-exchange rate calculator

style.css cody/solygambas/html-css-javascript-projects/062-exchange rate calculator/style.css
105 Views
0 Comments
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

:root {
--primary-color: #fd5900;
}

* {
box-sizing: border-box;
index.html cody/solygambas/html-css-javascript-projects/062-exchange rate calculator/index.html
287 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Exchange Rate Calculator</title>
</head>
script.js cody/solygambas/html-css-javascript-projects/062-exchange rate calculator/script.js
154 Views
0 Comments
const currencyOne = document.getElementById("currency-one");
const amountOne = document.getElementById("amount-one");
const currencyTwo = document.getElementById("currency-two");
const amountTwo = document.getElementById("amount-two");
const rate = document.getElementById("rate");
const swap = document.getElementById("swap");

function calculate() {